<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.io.ToNetAsciiOutputStream&lt;T&gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pac-methods">包函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.io.ToNetAsciiOutputStream&lt;T&gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>将本地换行符转换为NetAscii换行符  
 <a href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.io.ToNetAsciiOutputStream&lt;T&gt; 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a9db6cc33c39a4b3abdf06017480baf52"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#a9db6cc33c39a4b3abdf06017480baf52">init</a> (out: T)</td></tr>
<tr class="separator:a9db6cc33c39a4b3abdf06017480baf52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77089908fa045ad4ad1434f788d53d8c"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#a77089908fa045ad4ad1434f788d53d8c">write</a> (buffer: Array&lt;Byte&gt;): Unit</td></tr>
<tr class="separator:a77089908fa045ad4ad1434f788d53d8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc4f1fd4bddbfdf06f2d8e3e25e4cede"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#abc4f1fd4bddbfdf06f2d8e3e25e4cede">flush</a> ()</td></tr>
<tr class="separator:abc4f1fd4bddbfdf06f2d8e3e25e4cede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a618b308449a017500e03d74695543699"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#a618b308449a017500e03d74695543699">isClosed</a> (): Bool</td></tr>
<tr class="separator:a618b308449a017500e03d74695543699"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06435f5ea9c5b19be0d1211f7ab05af5"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#a06435f5ea9c5b19be0d1211f7ab05af5">close</a> (): Unit</td></tr>
<tr class="separator:a06435f5ea9c5b19be0d1211f7ab05af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pac-methods" name="pac-methods"></a>
包函数</h2></td></tr>
<tr class="memitem:abad84f7a11290d15babf2a459f57c2e5"><td class="memItemLeft" align="right" valign="top">prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#abad84f7a11290d15babf2a459f57c2e5">resource</a> : T</td></tr>
<tr class="separator:abad84f7a11290d15babf2a459f57c2e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:aac7fb5826a3133e8b48d99218e3fd742"><td class="memItemLeft" align="right" valign="top">private func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#aac7fb5826a3133e8b48d99218e3fd742">write</a> (byte: Byte): Unit</td></tr>
<tr class="separator:aac7fb5826a3133e8b48d99218e3fd742"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ac2d71af8c5dff76008d71c02a9ab48b1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#ac2d71af8c5dff76008d71c02a9ab48b1">var lastWasCr</a> : Bool</td></tr>
<tr class="separator:ac2d71af8c5dff76008d71c02a9ab48b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c9df680b29213add9a698feb79d931a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html#a2c9df680b29213add9a698feb79d931a">let out</a> : T</td></tr>
<tr class="separator:a2c9df680b29213add9a698feb79d931a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>将本地换行符转换为NetAscii换行符 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a9db6cc33c39a4b3abdf06017480baf52" name="a9db6cc33c39a4b3abdf06017480baf52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9db6cc33c39a4b3abdf06017480baf52">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public <a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.init </td>
          <td>(</td>
          <td class="paramname"><em>out</em>:&#160;</td>
          <td class="paramtype">T</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a06435f5ea9c5b19be0d1211f7ab05af5" name="a06435f5ea9c5b19be0d1211f7ab05af5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06435f5ea9c5b19be0d1211f7ab05af5">&#9670;&#160;</a></span>close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.close </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abc4f1fd4bddbfdf06f2d8e3e25e4cede" name="abc4f1fd4bddbfdf06f2d8e3e25e4cede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc4f1fd4bddbfdf06f2d8e3e25e4cede">&#9670;&#160;</a></span>flush()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func <a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.flush </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a618b308449a017500e03d74695543699" name="a618b308449a017500e03d74695543699"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a618b308449a017500e03d74695543699">&#9670;&#160;</a></span>isClosed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func <a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.isClosed </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abad84f7a11290d15babf2a459f57c2e5" name="abad84f7a11290d15babf2a459f57c2e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abad84f7a11290d15babf2a459f57c2e5">&#9670;&#160;</a></span>resource()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">prop <a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.resource</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a77089908fa045ad4ad1434f788d53d8c" name="a77089908fa045ad4ad1434f788d53d8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77089908fa045ad4ad1434f788d53d8c">&#9670;&#160;</a></span>write() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func <a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.write </td>
          <td>(</td>
          <td class="paramname"><em>buffer</em>:&#160;</td>
          <td class="paramtype">Array&lt;Byte&gt;</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aac7fb5826a3133e8b48d99218e3fd742" name="aac7fb5826a3133e8b48d99218e3fd742"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac7fb5826a3133e8b48d99218e3fd742">&#9670;&#160;</a></span>write() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">private func <a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.write </td>
          <td>(</td>
          <td class="paramname"><em>byte</em>:&#160;</td>
          <td class="paramtype">Byte</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a2c9df680b29213add9a698feb79d931a" name="a2c9df680b29213add9a698feb79d931a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c9df680b29213add9a698feb79d931a">&#9670;&#160;</a></span>let out</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.let out : T</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac2d71af8c5dff76008d71c02a9ab48b1" name="ac2d71af8c5dff76008d71c02a9ab48b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2d71af8c5dff76008d71c02a9ab48b1">&#9670;&#160;</a></span>var lastWasCr</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">commonsNet.io.ToNetAsciiOutputStream</a>&lt;T&gt;.var lastWasCr : Bool</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/io/<a class="el" href="to__net__ascii__io__stream_8cj.html">to_net_ascii_io_stream.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1io.html">io</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1io_1_1ToNetAsciiOutputStream.html">ToNetAsciiOutputStream</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
